package dto

type (
	ContractListReq struct {
		ContractName string `json:"contract_name" query:"contract_name"`
		BaseReq
	}
	ContractInfoReq struct {
		Id                   int64  `json:"id"`
		CustomerId           int64  `json:"customer_id"`
		CustomerName         string `json:"customer_name"`
		ContractName         string `json:"contract_name"`
		ContractCode         string `json:"contract_code"`
		ContractCategory     int64  `json:"contract_category"`
		ContractExternalCode string `json:"contract_external_code"`
		ContractSignDate     int64  `json:"contract_sign_date"`
		ContractStatus       int    `json:"contract_status"`
		CreateUserId         int64  `json:"create_user_id"`
	}
	ContractEventReq struct {
		ContractId   int64  `json:"contract_id"`
		EventContent string `json:"event_content"`
	}
	ContractEventResp struct {
		EventId      int64  `json:"event_id"`
		ContractId   int64  `json:"contract_id"`
		EventContent string `json:"event_content"`
		CreateDate   int64  `json:"create_date"`
	}

	ContractAccessoryReq struct {
		ContractId int64 `json:"contract_id"`
		FileId     int64 `json:"file_id"`
	}
	ContractAccessoryResp struct {
		FileId   int64  `json:"file_id"`
		FileName string `json:"file_name"`
		FilePath string `json:"file_path"`
	}
)
